<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
		
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		
		<title>Android管理平台</title>
		
		<!--                       CSS                       -->
	  
		<!-- Reset Stylesheet -->
		<css file="__PUBLIC__/css/reset.css"/>
	  
		<!-- Main Stylesheet -->
		<css file="__PUBLIC__/css/style.css"/>
		
		<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
		<css file="__PUBLIC__/css/invalid.css"/>	
		
		<!-- Colour Schemes
	  
		Default colour scheme is green. Uncomment prefered stylesheet to use it.
		
		<link rel="stylesheet" href="resources/css/blue.css" type="text/css" media="screen" />
		
		<link rel="stylesheet" href="resources/css/red.css" type="text/css" media="screen" />  
	 
		-->
		
		<!-- Internet Explorer Fixes Stylesheet -->
		
		<!--[if lte IE 7]>
			<link rel="stylesheet" href="resources/css/ie.css" type="text/css" media="screen" />
		<![endif]-->
		
		<!--                       Javascripts                       -->
  
		<!--[if IE]><js file="__PUBLIC__/js/jquery.bgiframe.js"/><![endif]-->

		
		<!-- Internet Explorer .png-fix -->
		
		<!--[if IE 6]>
			<js file="__PUBLIC__/js/DD_belatedPNG_0.0.8a-min.js"/>
			<script type="text/javascript">
				DD_belatedPNG.fix('.png_bg, img, li');
			</script>
		<![endif]-->
                <script>
                    function hd_upload(data){
                        var reg=/\.apk$/i;  
                        if(reg.test(data.name)){   
                            $("input[name='pname']").val(data.name);
                            $("input[name='volume']").val(data.size);
                        }
                    }
                </script>
                
	</head>
  
	<body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
                <load file="__PUBLIC__/sidebar.html"/>
                <jsconst/>
                <js file="__PUBLIC__/js/list.js"/>
		<div id="main-content"> <!-- Main Content Section with everything -->
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					<h3>上传游戏</h3>
                                        <ul class="content-box-tabs">
                                            <li><a href="#tab1" class="default-tab ind"><b>必填</b></a></li> <!-- href must be unique and match the id of target div -->
                                            <li><a href="#tab2" class="ind"><b>选填</b></a></li>
					</ul>
                                        <div class="clear"></div>
				</div> <!-- End .content-box-header -->				
				<div class="content-box-content">
                                    <form action="__CONTROL__/add" method="post">	
					<div class="tab-content default-tab" id="tab1">					
							<fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
								
								<p>
									<label>请输入中文名字</label>
										<input class="text-input small-input" type="text" id="small-input" name="chname" /> <span class="input-notification success png_bg">Successful message</span> <!-- Classes for input-notification: success, error, information, attention -->
										<br /><small>长度不要超过30</small>
								</p>
                                                            
                                                                <p>
									<label>版本号</label>
										<input class="text-input small-input" type="text" id="small-input" name="version" /> <span class="input-notification success png_bg">Successful message</span> <!-- Classes for input-notification: success, error, information, attention -->
										<br /><small>请输入版本号长度不要超过30</small>
								</p>
                                                                <p>
									<label>请选择类型</label>              
									<select class="small-input" name="aid">
                                                                            <list from="$alist" name="$al">
										<option value="{$al.aid}">{$al.aname}</option>
                                                                            </list>
									</select> 
								</p>  								
                                                                <p>
									<label>请选择分类</label>              
									<select class="small-input" name="cid">
									</select> 
								</p>  
                                                                <p> 
                                                                    <label>请选择支持系统</label> 
                                                                    <list from="$vlist" name="$vl"><input type="checkbox" name="version[]" value="{$vl.vid}"/>{$vl.vname}</list>
                                                                </p>
                                                                <p> 
                                                                    <label>请选择支持屏幕</label> 
                                                                    <list from="$slist" name="$sl"><input type="checkbox" name="size[]" value="{$sl.sid}"/>{$sl.size}</list>
                                                                </p>
                                                            
                                                                <p>
                                                                    <label>请上传安装包文件</label><upload name="savepath" type="apk" limit="1" dir="upload/apk" size="1000"/>
                                                                    <input type="hidden" value="" name="pname"/>
                                                                    <input type="hidden" value="" name="volume"/>
                                                                </p>
                                                                
                                                                <p>
                                                                    <label>请上传logo图片</label><upload name="logo" type="png,jpg,gif" limit="1"/>
                                                                </p>
                                                                
                                                                <p>
                                                                    <label>请上传二维码图</label><upload name="code" type="png,jpg,gif" limit="1"/>
                                                                </p>
                                                            
                                                                <p>
									<label>简介</label>
									<textarea class="text-input textarea wysiwyg" id="textarea" name="abstract" cols="79" rows="15"></textarea>
								</p>
								
								<p>
                                                                        <input class="button" type="submit" value="Submit" />
                                                                </p>
								
							</fieldset>
							
					</div> <!-- End #tab2 --> 
                                        <div class="tab-content" id="tab2">					
												
							<fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
								
								<p>
									<label>请输入英文名字</label>
										<input class="text-input small-input" type="text" id="small-input" name="enname" /> <span class="input-notification success png_bg">Successful message</span> <!-- Classes for input-notification: success, error, information, attention -->
										<br /><small>长度不要超过30</small>
								</p>
                                                                <p>
									<label>开发商</label>
										<input class="text-input small-input" type="text" id="small-input" name="developers" /> <span class="input-notification success png_bg">Successful message</span> <!-- Classes for input-notification: success, error, information, attention -->
										<br /><small>长度不要超过30</small>
								</p>
                                                                <p>
									<label>相关截图</label>
                                                                        <upload name="screenshot" type="png,jpg,gif" limit="20"/>
								</p>
                                                                <p>
									<label>补充说明</label>
									<textarea class="text-input textarea wysiwyg" id="textarea" name="additional" cols="79" rows="15"></textarea>
								</p>
                                                                <p>
                                                                        <input class="button" type="submit" value="Submit" />
                                                                </p>
                                                        </fieldset>
							
							<div class="clear"></div><!-- End .clear -->		
						
					</div> <!-- End #tab2 --> 
                                        
                                    </form>
				</div> <!-- End .content-box-content -->
                                
			</div> <!-- End .content-box -->
			
			<div id="footer">
				<small> <!-- Remove this notice or replace it with whatever you want -->
						&#169; Copyright 2009 Your Company | Powered by <a href="http://themeforest.net/item/simpla-admin-flexible-user-friendly-admin-skin/46073">Simpla Admin</a> | <a href="#">Top</a>
				</small>
			</div><!-- End #footer -->
			
		</div> <!-- End #main-content -->
		
	</div></body>
  

<!-- Download From www.exet.tk-->
</html>
